package com.ccsoft.atools.dao;

import com.ccsoft.atools.model.SysUserRole;

import java.util.List;

public interface SysUserRoleMapper {
    int deleteByPrimaryKey(Integer iid);

    int insert(SysUserRole record);

    int insertSelective(SysUserRole record);

    SysUserRole selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(SysUserRole record);

    int updateByPrimaryKey(SysUserRole record);

    List<SysUserRole> selectByRoleIid(int role_pk);

    List<SysUserRole> selectAll();

    int deleteByUserIid(int user_pk);
}